package com.yuanchu.marketing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.common.utils.PageResult;
import com.yuanchu.marketing.dto.RechargePlanParamsDto;
import com.yuanchu.marketing.entity.YoshopRechargePlanEntity;

/**
 * 会员充值套餐表
 *
 * @author adan
 * @email 2028038953@gmail.com
 * @date 2023-12-19 20:57:22
 */
public interface YoshopRechargePlanService extends IService<YoshopRechargePlanEntity> {


    /**
     * 查询充值套餐列表
     * @param page
     * @param search
     * @return
     */
    PageResult<YoshopRechargePlanEntity> queryRechargePlanList(Integer page, String search);

    /**
     * 添加充值套餐
     * @param params
     */
    void addRechargePlan(RechargePlanParamsDto params);

    /**
     * 修改充值套餐
     * @param params
     */
    void editRechargePlan(RechargePlanParamsDto params);

    /**
     * 删除充值套餐
     * @param planId
     */
    void deleteRechargePlan(Integer planId);
}

